package com.miplus.ccrm.report.service.cti;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.report.controller.vo.cti.CallReqVo;
import com.miplus.ccrm.report.controller.vo.cti.CallResvo;
import com.miplus.ccrm.report.controller.vo.cti.DialogueResVo;
import com.miplus.ccrm.report.pojo.TRecorder;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author pc
* @description 针对表【t_recorder】的数据库操作Service
* @createDate 2024-07-29 14:33:48
*/
public interface TRecorderService extends IService<TRecorder> {

    //IPage<CallResvo> callList(JSysUser user, CallReqVo paras);

    IPage<CallResvo> recordList(JSysUser user, CallReqVo paras);

    List<DialogueResVo> quyAgentDialogue(String callid, String agentid);

    List<DialogueResVo> quyIvrDialogue(String callid);

    CmdResVo expRecordList(JSysUser user, CallReqVo paras, HttpServletResponse response);

}
